package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_CREATE_USER_ID;
import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.E_IS_VALID;
import static org.jsola.core.example.BaseExample.E_MODIFIED_USER_ID;
import static org.jsola.core.example.BaseExample.E_SITE_ID;
import static org.jsola.core.example.BaseExample.N_CREATE_USER_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.core.example.BaseExample.N_IS_VALID;
import static org.jsola.core.example.BaseExample.N_MODIFIED_USER_ID;
import static org.jsola.core.example.BaseExample.N_SITE_ID;
import static org.jsola.hr.example.EmpContactsExample.E_ADDRESS;
import static org.jsola.hr.example.EmpContactsExample.E_BIRTHDAY;
import static org.jsola.hr.example.EmpContactsExample.E_COMPANY_ID;
import static org.jsola.hr.example.EmpContactsExample.E_EMP_ID;
import static org.jsola.hr.example.EmpContactsExample.E_NAME;
import static org.jsola.hr.example.EmpContactsExample.E_PHONE;
import static org.jsola.hr.example.EmpContactsExample.E_POLITICAL_STATUS;
import static org.jsola.hr.example.EmpContactsExample.E_POSITION;
import static org.jsola.hr.example.EmpContactsExample.E_RELATION;
import static org.jsola.hr.example.EmpContactsExample.E_WORK_UNIT;
import static org.jsola.hr.example.EmpContactsExample.N_ADDRESS;
import static org.jsola.hr.example.EmpContactsExample.N_BIRTHDAY;
import static org.jsola.hr.example.EmpContactsExample.N_COMPANY_ID;
import static org.jsola.hr.example.EmpContactsExample.N_EMP_ID;
import static org.jsola.hr.example.EmpContactsExample.N_NAME;
import static org.jsola.hr.example.EmpContactsExample.N_PHONE;
import static org.jsola.hr.example.EmpContactsExample.N_POLITICAL_STATUS;
import static org.jsola.hr.example.EmpContactsExample.N_POSITION;
import static org.jsola.hr.example.EmpContactsExample.N_RELATION;
import static org.jsola.hr.example.EmpContactsExample.N_WORK_UNIT;

/**
 * 员工联系人
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工联系人】列表展示对象")
@Data
public class EmpContactsListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_EMP_ID, example = E_EMP_ID)
    private String empId;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_RELATION, example = E_RELATION)
    private String relation;

    @ApiModelProperty(notes = N_BIRTHDAY, example = E_BIRTHDAY)
    private Date birthday;

    @ApiModelProperty(notes = N_PHONE, example = E_PHONE)
    private String phone;

    @ApiModelProperty(notes = N_ADDRESS, example = E_ADDRESS)
    private String address;

    @ApiModelProperty(notes = N_WORK_UNIT, example = E_WORK_UNIT)
    private String workUnit;

    @ApiModelProperty(notes = N_POSITION, example = E_POSITION)
    private String position;

    @ApiModelProperty(notes = N_POLITICAL_STATUS, example = E_POLITICAL_STATUS)
    private String politicalStatus;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_SITE_ID, example = E_SITE_ID)
    private String siteId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_CREATE_USER_ID, example = E_CREATE_USER_ID)
    private String createUserId;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = N_MODIFIED_USER_ID, example = E_MODIFIED_USER_ID)
    private String modifiedUserId;

    @ApiModelProperty(notes = N_IS_VALID, example = E_IS_VALID)
    private Boolean valid;



}

